//
//  XJCycleView.h
//  CycleScrollView
//
//  Created by lanou3g on 16/4/19.
//  Copyright © 2016年 ZhangXJ. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XJCycleView : UIView

//图片数组
@property (strong, nonatomic) NSMutableArray *imgNameArray;


//初始化
- (instancetype)initWithFrame:(CGRect)frame andInterVal:(NSTimeInterval)interval;

//添加Block回调 -- 获得点击图片的索引
- (void)addTapBlock:(void(^)(NSInteger index))block;

@end
